package com.tuananh.radnom.model.netservice;

import java.util.ArrayList;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlList;
import javax.xml.bind.annotation.XmlRootElement;

import com.tuananh.radnom.model.AbstractConfiguration;
import com.tuananh.radnom.model.DirectoryConfig;
import com.tuananh.radnom.model.netpoller.NetPoller;
import com.tuananh.radnom.model.netpoller.NetPollerConcrete;
import com.tuananh.radnom.model.netpoller.NetPollerConfiguration;

@XmlRootElement(name = "netservice-conf")
public class NetServiceConfiguration extends AbstractConfiguration {
	public static String path = "../config/netservice-conf.xml";
	static {
		path = DirectoryConfig.configPaths.get(NetServiceConfiguration.class
				.getName());
	}
	{
		configPath = path;
	}

	static ArrayList<NetService> service;

	public ArrayList<NetService> getService() {
		if (service == null)
			service = new ArrayList<NetService>();
		return service;
	}

	public void setService(ArrayList<NetService> services) {
		this.service = services;
	}

	@Override
	public AbstractConfiguration clone() {
		// TODO Auto-generated method stub
		return null;
	}

}
